<div class="right-panel" id="popup_div">
    <!--cont-top Start-->
    <div class="cont-top">
        <div class="left-cr"></div>
        <div class="right-cr"></div>
    </div>
    <!--cont-top End-->
    <!---left-nav Sart-->
    <div class="right-nav">
        <?php
        echo $this->session->flash();
        //pr($this->request->data);
        ?>
        <h2><?php echo __('EDIT_PAYABLE_DETAIL'); ?></h2>
        <!-- register Starts-->
        <div class="register" style="width:auto;">
            <div class="form-padd">

                <!--introduction Start-->
                <div class=" introduction">        
                    <?php echo $this->Form->create("Report");?>
                    <ul class="form-content">
                        <li>
                            <label><?php echo __('PAYEE'); ?>:</label>
                            <?php 
                                echo $this->Form->input('Payable.id');
                                echo $this->Form->input('Payee.id');
                                echo $this->Form->hidden('Payable.batch_list_id', array('type' => 'text'));
                                echo $this->Form->input('Payable.e_name', array('class' => 'text-input small-wdh', 'label' => false)); 
                            ?>
                        </li>
                        <li>
                            <label><?php echo __('PAYEE_ID'); ?>:</label>
                            <?php //echo $this->Form->input('Payable.payee_id_proof_no', array('class' => 'text-input small-wdh', 'label' => false, 'readonly' => 'readonly', 'disabled' => 'disabled')); 
                                echo $this->request->data['Payable']['payee_id_proof_no'];
                            ?>
                        </li>
                        <li>
                            <label><?php echo __('PAYEE_BANK_NO'); ?>:</label>
                            <?php echo $this->Form->input('Payee.bank_account_no', array('class' => 'text-input small-wdh', 'label' => false)); ?>
                        </li>
                        <li>
                            <label><?php echo __('JOINING_DATE'); ?>:</label>
                            <?php echo $this->Form->input('Payee.joining_date', array('type' => 'textfield', 'class' => 'text-input small-wdh', 'id'=>'datepicker', 'label' => false)); ?>
                        </li>
                        <li>
                            <label><?php echo __('MPF_ENTITLEMENT'); ?> :</label>
                            <?php echo $this->Form->select('Payable.mpf_entitlement', array('Y' => 'Yes', 'N' => 'No')); ?>
                        </li>
                        <li>
                            <label><?php echo __('HOLD_REQUIRED'); ?> :</label>
                            <?php echo $this->Form->checkbox('Payable.on_hold'); ?>
                        </li>
                        <li>
                            <label><?php echo __('AMOUNT_PAYABLE'); ?> :</label>
                            <?php echo $this->Form->input('Payable.amount_payable', array('type' => 'textfield','maxlength' => '35', 'class' => 'text-input small-wdh', 'id'=>'datepicker', 'label' => false)); ?>
                        </li>
                    </ul>
                    
                    <div class="actionbtns">
                        <?php 
                            echo $this->Js->submit(__('UPDATE'), array(
                                    'class' => 'button',
                                    'confirm' => 'Are you Sure to update?',
                                    'update' => '#popup_div',
                                    'div' => false)
                                );
                        ?>
                        <div class="buttonEnding"></div>&nbsp;&nbsp;&nbsp;
                    </div>
                    
                    <?php echo $this->Form->end();?>
                    
                </div>
                <!--introduction End-->
                <div class="clear"></div>
            </div>
        </div>        
    </div>
</div>
<?php echo $this->Js->writeBuffer();?>
<script>
    $(document).ready(function(){
        $("#datepicker").datepicker({
                dateFormat: 'yy-mm-dd',
                changeMonth: true,
                changeYear: true,
            }
        );
    });
    jQuery.browser = {};
    (function () {
        jQuery.browser.msie = false;
        jQuery.browser.version = 0;
        if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
            jQuery.browser.msie = true;
            jQuery.browser.version = RegExp.$1;
        }
    })();
</script>